﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Entity
{
    /// <summary>
    /// 
    ///</summary>
  
    public class Contract
    {

        [Key]
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>

        public int Id { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
       
        public int ParturientId { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
       
        public int PackageId { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
      
        public int HomeId { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        
        public DateTime? SignTime { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
       
        public int PayState { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
       
        public DateTime? LiveTime { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
      
        public int? EmpId { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
      
        public int PayWay { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
       
        public decimal Money { get; set; }

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
      
        public string IsDelete { get; set; } = null;

        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
      
        public DateTime CreateTime { get; set; }
        public decimal? Deposit {  get; set; }
        public string ContractNumber { get; set; }
        public int? SignState { get; set; }

        public virtual Parturient Parturient { get; set; }
    }
}
